package com.hok.misc.jni;


public class Hello {
	static {
		System.loadLibrary("Hello");
	}
	public static native String sayHello();
	
	public static void main(String[] args) {
		int  index = 0;
		while(true) {
			System.out.print(index);
			System.out.println(sayHello());
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			index++ ;
			if(index > 1200) {
				break;
			}
		}
		System.out.println("---end---");
		
	}
}
